﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admincp/MasterPageEmpty.master"
    AutoEventWireup="true" CodeFile="matkhau.aspx.cs" Inherits="admincp_matkhau" %>

<%@ Register Src="wucSideBar.ascx" TagName="wucSideBar" TagPrefix="uc1" %>
<%@ Register Src="wucNavTop.ascx" TagName="wucNavTop" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphTopBar" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphSideBar" runat="Server">
    <uc1:wucSideBar ID="wucSideBar1" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphNavTop" runat="Server">
    <uc2:wucNavTop ID="wucNavTop1" runat="server" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cphContent" runat="Server">
    <div class="box grid_16 round_all">
        <h2 class="box_head grad_colour">
            Thay đổi mật khẩu:</h2>
        <a href="#" class="grabber">&nbsp;</a> <a href="#" class="toggle">&nbsp;</a>
        <div class="toggle_container">
            <div class="block">
                <label>
                    Mật khẩu cũ</label>
                <asp:TextBox ID="txtMatKhauCu" title="Nhập mật khẩu cũ" runat="server" CssClass="medium required"
                    Font-Bold="True" TextMode="Password"></asp:TextBox>
                <label>
                    Mật khẩu mới</label>
                <asp:TextBox ID="txtMatKhauMoi" title="Nhập mật khẩu mới" runat="server" CssClass="medium required"
                    Font-Bold="True" TextMode="Password"></asp:TextBox>
                <label>
                    Xác nhận mật khẩu mới</label>
                <asp:TextBox ID="txtXacMatKhauMoi" title="Nhập xác nhận mật khẩu mới" runat="server"
                    CssClass="medium required" Font-Bold="True" TextMode="Password"></asp:TextBox>
                <br />
                <button id="btnLuu" runat="server" onserverclick="ThayDoiMatKhau" class="button_colour round_all">
                    <img height="24" width="24" alt="Lưu lại" src="images/icon_apply.png"><span>Thay đổi mật khẩu</span></button>
            </div>
        </div>
        
    </div>
    <script type="text/javascript">
        var MatKhau = new LiveValidation('cphContent_txtMatKhauMoi');
        MatKhau.add(Validate.Length, { minimum: 6 });

        var XacNhanMatKhau = new LiveValidation('cphContent_txtXacMatKhauMoi');
        XacNhanMatKhau.add(Validate.Confirmation, { match: 'cphContent_txtMatKhauMoi' });
    </script>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="cphTemplateOption" runat="Server">
</asp:Content>
